HWTEST_F_L0(HProfTest, DumpNativeSize)
{
    HProfTestHelper tester(instance);
    tester.GenerateSnapShot("test10.heapsnapshot");
    printf("########ret=%d\n", tester.ExtractCountFromPayload("test10.heapsnapshot", "{\"node_fields\":")); //2
    printf("########ret=%d\n", tester.ExtractCountFromMeta("test10.heapsnapshot", "\"node_count\":")); //3972
    printf("#######ret=%d\n", tester.ExtractCountFromPayload("test10.heapsnapshot", "\"nodes\":[")); //3972

    ASSERT_TRUE(tester.ExtractCountFromPayload("test10.heapsnapshot", "{\"node_fields\":")==2);
    ASSERT_TRUE(tester.ContrastJSONSectionPayload("test10.heapsnapshot", "{\"node_fields\":", 2));
    ASSERT_TRUE(tester.ExtractCountFromMeta("test10.heapsnapshot", "\"node_count\":") ==
                tester.ExtractCountFromPayload("test10.heapsnapshot", "\"nodes\":["));
    ASSERT_TRUE(tester.ExtractCountFromPayload("test10.heapsnapshot", "\"nodes\":[") == 8);
}

https://gitee.com/yipinliu/arkcompiler_ets_runtime/commit/0249fd188606d9fb46ea89614c25661d1fe12656
